<?php
// ----------------------------------------------------------------------
// 应用配置
return  [
    'default' => [
        'controller'  =>'site',       //默认控制器 可更改为首页 index
        'action'  =>'index',       //默认控制器 可更改为首页 index
    ],
    'class_import'         =>[
        // 'classname' => 'path'
        'Pot' => '@system/libs/pot/Pot.php'
    ],
    //数据库选项
    'db'        =>array(
        'driver'        => 'mysql'
        ,'host'         => 'localhost'
        ,'port'         => '3306'
        ,'username'     => 'root'
        ,'password'     => 'root'
        ,'database'     => 'account'
        ,'charset'      => 'utf8'
        ,'tblPrefix'   => 'wa_'
    ),

    // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
    'app_key' => '1leofXYFBewFrhDpCvR-ksm55XHObhXt',

     // e.g. adminModule
    'modules'       => [],

    # 自定义配置
    'params'       => require(__DIR__ . '/params.php')
];